package face.pay.dao;

import face.pay.entity.MchApplymentUpgradeInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Auther:
 * @Date:
 * @Description:
 */
@Mapper
public interface MchApplymentUpgradeInfoDao {

    void insert(MchApplymentUpgradeInfo mchApplymentUpgradeInfo);

    MchApplymentUpgradeInfo getApplyMent(Integer userId, String business_code);

    MchApplymentUpgradeInfo getApplyMent(MchApplymentUpgradeInfo mchApplymentUpgradeInfo);

    List<MchApplymentUpgradeInfo> queryList(MchApplymentUpgradeInfo mchApplymentUpgradeInfo);

    void updateApplyMentStatus(MchApplymentUpgradeInfo mchApplymentUpgradeInfo);

    List<MchApplymentUpgradeInfo> queryListByStatus(@Param(value = "statusArray") String[] statusArray);


}
